import React from 'react';
import { WeaAlertPage, WeaLocaleProvider } from 'ecCom';

const getLabel = WeaLocaleProvider.getLabel;
export default class NoViewRightPage extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      iconSize: 100,
    };
  }
  render() {
    return (
      <div style={{ position: 'relative', height: '100%' }}>
        <WeaAlertPage
          ecId={`${
            (this && this.props && this.props.ecId) || ''
          }_WeaAlertPage@93s2wt`}
          {...this.state}
        >
          <div style={{ color: '#000' }}>
            {getLabel(2012, '对不起，您暂时没有权限！')}
          </div>
        </WeaAlertPage>
      </div>
    );
  }
}
